package se.nestorthon.branding.store.sample;

import java.util.LinkedList;
import java.util.List;

import se.nestorthon.branding.entity.Branding;
import se.nestorthon.branding.entity.FileBranding;
import se.nestorthon.branding.store.StoreInterface;

public class StoreSample implements StoreInterface {

	List<Branding> branding = new LinkedList<Branding>();
	
	@Override
	public List<Branding> getBrandings() {
		return this.branding;
	}

	@Override
	public Branding createNewBranding(String newBranding) {
		FileBranding branding = new FileBranding(newBranding);
		this.branding.add(branding);
		return branding;
		
	}

}
